package com.dailyblue.project.estate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.Complaint;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:ComplaintService
 * @Date:2025/9/18 15:13
 */
@Service
public interface ComplaintService extends IService<Complaint> {
    //插入一条数据
    JsonResult SaveComplaint(Complaint complaint);
    //查询一条数据
    JsonResult findOne(String id);
    //查询所有数据
    JsonResult findAllComplaint();
    //删除一条数据
    JsonResult deleteComplaint(String id);
    //更新一条数据
    JsonResult updateComplaint(Complaint complaint);
}
